itemClick
Type
message
Summary
This message is sent when the user clicks an item.
Syntax
itemClick (pItemIndex, pMouseButton)
Description
Use the itemClick message to detect when the user clicks on a specific item.
Parameters
Name | Type | Description |
---|---|---|
pItemIndex | An Integer representing the index of the item under the mouse cursor. | |
pMouseButton | An integer identifying the mouse button generated the event. |
Examples
on itemClick pItemIndex, pMouseButton
answer "Item " & pItemIndex & " has been clicked"
end itemClick